package org.jeecg.modules.monitoring.j_monitoring.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.monitoring.j_monitoring.entity.MDailyInspection;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.jeecg.modules.monitoring.j_monitoring.entity.MDailyInspectionDTO;

/**
 * @Description: 日常巡检Mapper
 * @Author: xiaoyq
 * @Date:   2023-10-10
 * @Version: V1.0
 */
public interface MDailyInspectionMapper extends BaseMapper<MDailyInspection> {
    List<MDailyInspection> getListByTime(@Param("start") String start,@Param("end")String end);


    List<MDailyInspectionDTO> getTodayInspection(@Param("userId") String userId);

    List<MDailyInspectionDTO> getPlanInspection(@Param("userId") String userId);
}
